package com.ktjiaoyu.crm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ktjiaoyu.crm.pojo.User;

public interface UserService extends IService<User> {

    User login(String usrName, String usrPassword);

    Page<User> selectUserPages(Page<User> page, String userName, Long roleId);

    boolean addUsers(User user);

    User getUserById(Long userId);

    User updateUser(User user);

    User getUesrByName(String name);


}
